#ifndef PAGINE_BL
#define  PAGINE_BL
#define FLASH_ERROR 0x2000
#define FLASH_OK 0x0
#include "stdint.h"
extern int16_t pageClean(uint8_t addrHi,uint16_t addrLo); //risultato in W0, addrHi in W0 e addrLo in W1 in accordo a tabella 4.3 pag81 C30 man.
extern int16_t pageDataWrite(uint8_t addrHi,uint16_t addrLo, void* pageBuff); //risultato in W0, addrHi in W0, addrLo in W1 e pageBuff in W2 in accordo a tabella 4.3 pag81 C30 man.
extern void pageDataRead(uint8_t addrHi,uint16_t addrLo, void* pageBuff); //addrHi in W0, addrLo in W1 e pageBuff in W2 in accordo a tabella 4.3 pag81 C30 man.
extern int16_t pageInstrWrite(uint8_t addrHi,uint16_t addrLo, void* pageBuff); //risultato in W0, addrHi in W0, addrLo in W1 e pageBuff in W2 in accordo a tabella 4.3 pag81 C30 man.
extern void pageInstrRead(uint8_t addrHi,uint16_t addrLo, void* pageBuff); //addrHi in W0, addrLo in W1 e pageBuff in W2 in accordo a tabella 4.3 pag81 C30 man.
#endif
